package com.pig4cloud.pig.constitution.entity;

import com.baomidou.mybatisplus.annotation.*;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.time.LocalDateTime;

/**
 * 问题类型表
 *
 * @author pig
 * @date 2025-04-20 14:19:10
 */
@Data
@TableName("constitution")
@EqualsAndHashCode(callSuper = true)
@Schema(description = "问题类型表")
public class ConstitutionEntity extends Model<ConstitutionEntity> {


	/**
	* 问题类型id
	*/
    @TableId(type = IdType.ASSIGN_ID)
    @Schema(description="问题类型id")
    private Integer id;

	/**
	* 问题类型名
	*/
    @Schema(description="问题类型名")
    private String name;

	/**
	* 是否删除 0：不删除 1：删除
	*/
    @Schema(description="是否删除 0：不删除 1：删除")
    private Integer del;
 
	/**
	* createDate
	*/
    @Schema(description="createDate")
    private LocalDateTime createDate;
}
